package ACEbrickBreaker;

/**
 * <p>
 * Title: Paddle
 * </p>
 * <p>
 * Description: Paddle Class Contains constructors for the Paddle object
 * including position and velocity and getters and setters for both of these
 * attributes
 * </p>
 * 
 * @author Caitlin Finn
 * @email caitlin.finn@my.uwrf.edu
 * @author Erin McNeil
 * @email erin.mcneil@my.uwrf.edu
 * @author Andrew Juranek
 * @email andrew.juranek@my.uwrf.edu
 * @date December 10th 2012
 */
public class Paddle {

	// declares variables for x and y coordinates
	int x, y;

	/**
	 * constructor that takes in x and y coordinates for paddle
	 * 
	 * @param x
	 * @param y
	 */
	public Paddle(int x, int y) {
		this.x = x;
		this.y = y;
	}

	/**
	 * // gets x coordinate of paddle
	 * 
	 * @return x
	 */
	public int getX() {
		return x;
	}

	/**
	 * sets x coordinate of paddle
	 * 
	 * @param x
	 */
	public void setX(int x) {
		this.x = x;
	}

	/**
	 * gets y coordinate of paddle
	 * 
	 * @return y
	 */
	public int getY() {
		return y;
	}

	/**
	 * sets y coordinate of paddle
	 * 
	 * @param y
	 */
	public void setY(int y) {
		this.y = y;
	}

}
